﻿using Ross.OA.Entities;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ross.OA.EntityFramework.Model
{
    [Table("POReciveDetail")]
    public class POReciveDetail : Entity<Guid>
    {
        /// <summary>
        /// 采购单号
        /// </summary>
        [Required, MaxLength(50)]
        public string order_code { get; set; }
        /// <summary>
        /// 采购行号
        /// </summary>
        [Required, MaxLength(8)]
        public string order_line { get; set; }
        /// <summary>
        /// 成品库存数量
        /// </summary>
        public int fits_stock { get; set; }
        [MaxLength(50)]
        /// <summary>
        /// 成品库存日期
        /// </summary>
        public string stock_date { get; set; }
        [MaxLength(50)]
        /// <summary>
        /// 排产单号
        /// </summary>
        public string schedule_code { get; set; }
        /// <summary>
        /// 排产数量
        /// </summary>
        public int fits_schedule { get; set; }
        [MaxLength(50)]
        /// <summary>
        /// 生产日期
        /// </summary>
        public string schedule_date { get; set; }
        [MaxLength(50)]
        public string quantity_date { get; set; }
        public int fits_quantity { get; set; }
        public int fits_rate { get; set; }
    }
}
